<template>
  <view>
    <view>
      <!-- <iframe :src="iframePath" class="iframe" frameborder="0" width="100%" height="100%"></iframe> -->
      <text class="posi-text">承揽协议签订开发中，敬请期待</text>
      <u-button type="primary" shape="square" :ripple="true" size="medium" class="custom-btn" @click="toPath"
        >下一步</u-button
      >
    </view>
  </view>
</template>

<script>
import { mapGetters } from "vuex";
export default {
  data() {
    return {
      iframePath: "",
    };
  },
  mounted() {
    this.getExminePath();
  },
  computed: {
    ...mapGetters(["deptId"]),
  },
  methods: {
    async toPath() {
      await this.$api.riders.otherStatus({ otherStatus: 70 });
      this.$u.route("pages/faxin/index");
    },
    async getExminePath() {
      // let { data } = await this.$api.dept.queryExamineLink({ deptId: this.deptId });
      // this.iframePath = data.examineRecordPath;
    },
  },
};
</script>

<style lang="scss" scoped>
uni-page-body,
uni-view {
  height: 100%;
}
.iframe {
  height: 85vh;
}
.custom-btn {
  position: absolute;
  bottom: 10px;
  margin: 15px auto;
  left: 50%;
  transform: translateX(-50%);
}
.posi-text {
  width: 80%;
  position: absolute;
  left: 50%;
  top: 50%;
  text-align: center;
  color: #666;
  font-size: 24px;
  transform: translate(-50%, -50%);
}
</style>
